package com.engine4cloud.tdf.supervision.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.engine4cloud.tdf.common.data.datascope.TdfBaseMapper;
import com.engine4cloud.tdf.supervision.dto.query.GzryVolunteerQueryDTO;
import com.engine4cloud.tdf.supervision.dto.result.GzryVolunteerResultDTO;
import com.engine4cloud.tdf.supervision.entity.GzryVolunteerEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GzryVolunteerMapper extends TdfBaseMapper<GzryVolunteerEntity> {

    IPage<GzryVolunteerResultDTO> pageList(Page<GzryVolunteerEntity> page, GzryVolunteerQueryDTO dto, @Param("deptIdList") List<Long> deptIdList);
}